﻿using Abp.Events.Bus;
using HCD.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace HCD.Events
{
    public class MsgPushEventData : EventData
    {
        public Guid Id { get; set; }
        [Required(ErrorMessage = "MsgTitle不能为空")]
        public string MsgTitle { get; set; }

        /// <summary>
        /// MsgContent
        /// </summary>
        public string MsgContent { get; set; }

        /// <summary>
        /// MsgType
        /// </summary>
        public MsgTypeEnum MsgType { get; set; }

        /// <summary>
        /// MsgDateTime
        /// </summary>
        public DateTime MsgDateTime { get; set; }

        /// <summary>
        /// SenderID
        /// </summary>
        public Guid? SenderID { get; set; }

        /// <summary>
        /// SenderName
        /// </summary>
        public string SenderName { get; set; }

        /// <summary>
        /// Url
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// FeatureTitle
        /// </summary>
        public string FeatureTitle { get; set; }
        /// <summary>
        /// 接收人ID列表
        /// </summary>
        public ICollection<string> Receiverids { get; set; }
    }
}
